import request from '@/utils/request'
//层次管理
//如果没有假数据baseURL可以直接在.env.development文件定义-> base api = "http://10.0.1.54:8888" 后台记得关防火墙，不然前端访问不到
export function getList(data) {
  return request({
    url: '/schoolSystem/list',
    method: 'post',
    data
  })
  
}
//添加
export function addData(data){
  return request({
    url: '/schoolSystem/add',
    method: 'post',
    data,

  })
}
//更新
export function editData(data){
  return request({
    url: '/schoolSystem/update',
    method: 'put',
    data,
  
  })
}
//删除
export function deleteData(data){
  return request({
    url: '/schoolSystem/delete',
    method: 'delete',
    data,
   
  })
}

